﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace CodeCube.Service.Model
{
    ///<summary>
    ///用户账号
    ///</summary>
    [SugarTable("user_account")]
    public partial class UserAccountModel
    {
           public UserAccountModel(){


           }
           /// <summary>
           /// Desc:唯一标识
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string Guid {get;set;}

           /// <summary>
           /// Desc:登录账号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Account {get;set;}

           /// <summary>
           /// Desc:登录密码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Password {get;set;}

           /// <summary>
           /// Desc:账号类型
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Types {get;set;}

           /// <summary>
           /// Desc:主角色
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string RoleGuid {get;set;}

           /// <summary>
           /// Desc:微信登录标识
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string WxOpenId {get;set;}

           /// <summary>
           /// Desc:微信开放平台标识
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string WxUnionId {get;set;}

           /// <summary>
           /// Desc:绑定手机号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string BindPhone {get;set;}

           /// <summary>
           /// Desc:最后登录时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? LastLoginDT {get;set;}

    }
}
